package Utiles;

public class Punkt{
	public int x = 0;
	public int y = 0;
	public int sum = 0;
	public Punkt prev = null;
	public Punkt(int pX, int pY, int pSum, Punkt pPrev) {
		x = pX;
		y = pY;
		sum = pSum;
		prev = pPrev;
	}
	
	public String toString(){
		return "["+x+" , "+y+"] - "+sum;
	}
}
